package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单物流信息表
 * </p>
 *
 * @author wpdcn
 * @since 2020-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_order_delivery")
@ApiModel(value="ShopOrderDeliveryEntity对象", description="订单物流信息表")
public class ShopOrderDeliveryEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键：物流单号")
    @TableId(value = "logistics_num", type = IdType.INPUT)
    @ApiModelProperty(value = "主键：物流单号")
    private String logisticsNum;

    @Column(comment = "订单号")
    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @Column(comment = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @Column(comment = "物流名称")
    private String companyName;

    @Column(comment = "物流公司编码：shunfeng、zhongtong、yuantong、huitongkuaidi、shentong、yunda、ems、jd、zhaijisong")
    @ApiModelProperty("物流公司编码：shunfeng、zhongtong、yuantong、huitongkuaidi、shentong、yunda、ems、jd、zhaijisong")
    private String companyCode;


}
